package books.to.africa


import grails.test.mixin.*
import org.junit.*


@TestFor(DonorRegister)
class DonorRegisterTests {

   void testRegister() {
       DonorRegister dr = new DonorRegister(userName:"idonate", email: "me@somewhere.com", password:"123456", passwordAgain:"123456")
		assertEquals "idonate", dr.userName
		assertEquals "me@somewhere.com", dr.email
		assertEquals "123456", dr.password
		assertEquals "123456", dr.passwordAgain
    }
}
